package classTest2;

public class MyMath2 {

	//public static void main(String[] args) {}
	private int a=0;
	private int b=0;
	
	public MyMath2()
	{
	//	super();
	}
	
	public MyMath2(int a, int b)
	{
		this.a=a;
		this.b=b;
	}
	
	public int add(int i,int j)
	{
		return i+j;		
	}
	public int times(int i,int j)
	{
		return i*j;
	}
	
	public int add()
	{
		return a+b;
	}
	
	public int getA()
	{
		return a;
	}
	
	public void setA(int i)
	{
		a=i;
	}
	
	public void setB(int i)
	{
		b=i;
	}
	
	public int getB()
	{
		return b;
	}
	
}
